package com.cowin.inf.service.impl;

import com.cowin.inf.dao.KyBdcRouteSettingMapper;
import com.cowin.inf.model.KyBdcRouteSetting;
import com.cowin.inf.service.KyBdcRouteSettingService;
import com.cowin.base.AbstractServiceImpl;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import javax.annotation.Resource;


/**
 * Created by  on 2019/09/19.
 *
 * @author CodeGenerator
 */
@Slf4j
@Service
@Transactional(rollbackFor = RuntimeException.class)
public class KyBdcRouteSettingServiceImpl extends AbstractServiceImpl<KyBdcRouteSetting> implements KyBdcRouteSettingService {

    @Resource
    private KyBdcRouteSettingMapper kyBdcRouteSettingMapper;

    @Override
    public KyBdcRouteSetting findByRoutePoint(String routerPoint) {
        return kyBdcRouteSettingMapper.findByRoutePoint(routerPoint);
    }
}
